package com.qixin.api.bean;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 人员管理
 * </p>
 *
 * @author 薛向毅
 * @since 2018-09-29
 */
@TableName("com_people")
public class ComPeople extends Model<ComPeople> {

	private static final long serialVersionUID = 1L;

	private Long id;
	/**
	 * 手机号
	 */
	private Long phone;
	/**
	 * 备注
	 */
	private String remaker;
	/**
	 * 创建时间
	 */
	@TableField("create_time")
	private Long createTime;
	/**
	 * 余额
	 */
	@TableField("surplus_moeny")
	private BigDecimal surplusMoeny;
	/**
	 * 可回收金额
	 */
	@TableField("recovery_moeny")
	private Double recoveryMoeny;
	/**
	 * 该人员属于的企业ID
	 */
	@TableField("user_id")
	private Long userId;
	/**
	 * 姓名
	 */
	@TableField("name")
	private String name;

	/**
	 * 账户
	 */
	@TableField("user_name")
	private String userName;
	/**
	 * 密码
	 */
	@TableField("pass_word")
	private String passWord;

	/**
	 *企业累计充值
	 */
	@TableField(exist = false)
	private Integer sumMoeny ;

	/**
	 *是否通过  1 通过 2未通过
	 */
	@TableField("flag")
	private String flag;

	/**
	 * 未通过原因
	 */
	@TableField("false_info")
	private String falseInfo;

	public String getPeoplea() {
		return peoplea;
	}

	public void setPeoplea(String peoplea) {
		this.peoplea = peoplea;
	}

	/**
	 * 身份证正面，主页面
	 */
	@TableField("false_info")
	private String peoplea;

	/**
	 * 父级企业ID
	 */
	@TableField(exist = false)
	private String pantId;

	public String getPhotoa() {
		return photoa;
	}

	public void setPhotoa(String photoa) {
		this.photoa = photoa;
	}

	/**
	 * 驾驶证正面
	 */
	@TableField(exist = false)
	private String photoa ;

	public String getPhotob() {
		return photob;
	}

	public void setPhotob(String photob) {
		this.photob = photob;
	}

	/**
	 * 驾驶证反面
	 */
	@TableField(exist = false)
	private String photob ;
	/**
	 *pojo企业名称
	 */
	@TableField(exist = false)
	private String ptName;

	public String getPtName() {
		return ptName;
	}

	public void setPtName(String ptName) {
		this.ptName = ptName;
	}

	/**
	 * 身份证正面
	 */
	@TableField(exist = false)
	private String peoepleUrla;

	public String getPeoepleUrla() {
		return peoepleUrla;
	}

	public void setPeoepleUrla(String peoepleUrla) {
		this.peoepleUrla = peoepleUrla;
	}

	public String getPeoepleUrlb() {

		return peoepleUrlb;
	}

	public void setPeoepleUrlb(String peoepleUrlb) {
		this.peoepleUrlb = peoepleUrlb;
	}

	/**
	 * 身份证背面
	 */
	@TableField(exist =false)
	private String peoepleUrlb;


	public String getPantId() {
		return pantId;
	}

	public void setPantId(String pantId) {
		this.pantId = pantId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassWord() {
		return passWord;
	}

	public void setPassWord(String passWord) {
		this.passWord = passWord;
	}

	public String getFlag() {
		return flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}

	public String getFalseInfo() {
		return falseInfo;
	}

	public void setFalseInfo(String falseInfo) {
		this.falseInfo = falseInfo;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getPhone() {
		return phone;
	}

	public void setPhone(Long phone) {
		this.phone = phone;
	}

	public String getRemaker() {
		return remaker;
	}

	public void setRemaker(String remaker) {
		this.remaker = remaker;
	}

	public Long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}

	public BigDecimal getSurplusMoeny() {
		return surplusMoeny;
	}

	public void setSurplusMoeny(BigDecimal surplusMoeny) {
		this.surplusMoeny = surplusMoeny;
	}

	public Double getRecoveryMoeny() {
		return recoveryMoeny;
	}

	public void setRecoveryMoeny(Double recoveryMoeny) {
		this.recoveryMoeny = recoveryMoeny;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}
	public Integer getSumMoeny() {
		return sumMoeny;
	}

	public void setSumMoeny(Integer sumMoeny) {
		this.sumMoeny = sumMoeny;
	}
	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "ComPeople{" +
				"id=" + id +
				", phone=" + phone +
				", remaker='" + remaker + '\'' +
				", createTime=" + createTime +
				", surplusMoeny=" + surplusMoeny +
				", recoveryMoeny=" + recoveryMoeny +
				", userId=" + userId +
				", name='" + name + '\'' +
				", userName='" + userName + '\'' +
				", passWord='" + passWord + '\'' +
				", sumMoeny=" + sumMoeny +
				", flag='" + flag + '\'' +
				", falseInfo='" + falseInfo + '\'' +
				", peoplea='" + peoplea + '\'' +
				", pantId='" + pantId + '\'' +
				", photoa='" + photoa + '\'' +
				", photob='" + photob + '\'' +
				", ptName='" + ptName + '\'' +
				", peoepleUrla='" + peoepleUrla + '\'' +
				", peoepleUrlb='" + peoepleUrlb + '\'' +
				'}';
	}
}
